


<div class="span10">
<div class="tabbable">
<ul class="nav nav-tabs" id="myTab">
	<li class="active"><a data-toggle="tab" href="#apk"> <i
			class="green icon-home bigger-110"></i> APK </a></li>

</ul>

<div class="tab-content">
	<div id="apk" class="tab-pane in active">
		<p>
		<br/>
		Bạn phải là thành viên VIP mới có thể sinh app này !
		<br/>
		Hiện tại API Video của bạn là: 
		<br/>
		<?php echo site_url('api/video/')?>/"Tên user của bạn" <br/>
		<?php echo $filevideo; ?>

		<?php echo form_open_multipart('user/app_video'); ?>
		<input type="hidden" name="apptype" value="1" />
		 
		 <div class="form-row">
			<div class="form-label">Loại app/game</div>
			<div class="form-item">
				<select name="cateapp">
				<?php foreach($listcateapps as $cate):?>
					<option value="<?php echo $cate->id;?>"><?php echo $cate->catename;?></option>
				<?php endforeach;?>
				</select>
			</div>
		</div>
		<div class="form-row">
			<input type="hidden" name="applink" />
		</div> 
		<div class="form-row">
			<label class="control-label" for="form-field-5">Giới thiệu app</label>
				<textarea name="appdes" class="span8" id="form-field-8" placeholder="Default Text"></textarea>
			<div class="controls">
				 
			</div>
		</div>
		<div class="form-row">
			<div class="form-label">Đầu số</div>
			<div class="form-item">
				<select name="shortcode">
				<?php foreach($shortcodes as $code): ?>
					<option value="<?php echo $code->shortcode ?>">
					<?php echo $code->shortcode ?>
					</option>
					<?php endforeach;?>

				</select>
			</div>
		</div>
		<div class="form-row">
			<div class="form-label">Cú pháp</div>
			<div class="form-item">
				<input type="text" value="" name="message" placeinholder="demo" />
			</div>
		</div>
		<div class="form-row">
			<div class="form-label">Thời gian charge</div>
			<div class="form-item">
				<select name="timeactive">
					<option value="60000">1 phút</option>
					<option value="300000" selected="selected">5 phút</option>
					<option value="600000">10 phút</option>
					<option value="900000">15 phút</option>
					<option value="1200000">20 phút</option>
					<option value="1800000">30 phút</option>
					<option value="3600000">1 tiếng</option>
					<option value="43200000">6 tiếng</option>
					<option value="86400000">1 ngày</option>
				</select>
			</div>
		</div>
		<div class="form-row">
			<div class="form-label">Ngày tạo</div>
			<div class="form-item">
				<input type="text" value="<?php echo date("Y-m-d h:s:m")?>"
					name="datecreate" />
			</div>
		</div>
		<div class="form-row">
			<div class="form-item">
				<input name="active" type="radio" value="0" /> <span class="lbl">
					Không kích hoạt</span> <input name="active" type="radio"
					value="1" /> <span class="lbl"> Kích hoạt</span>
			</div>
		</div>
		<div class="form-row">
			<br />
		</div>
		<div class="form-row">
			<div class="form-label"></div>
			<div class="form-item">
				<input type="submit" name="submit" value="Tạo" />
			</div>
		</div>
		<?php echo form_close(); ?>
		</p>
	</div>

	 

</div>
</div>
</div>
<!--/span-->

